package com.liujg.future.model.resp;

import lombok.AllArgsConstructor;
import lombok.Data;

@AllArgsConstructor
@Data
public class TwoValue <FIRST,SECOND>{

    private FIRST first;

    private SECOND second;

    public static <FIRST,SECOND> TwoValue<FIRST,SECOND> of(FIRST first,SECOND second){
        return new TwoValue<>(first,second);
    }


}
